import Home from '@/views/Home.vue'
import TimerView from '@/views/TimerView.vue'

import IconView from '@/views/IconView.vue'
import DialogView from '@/views/DialogView.vue'
import H5ContainerView from '@/views/H5ContainerView.vue'
import ButtonView from '@/views/ButtonView.vue'

import SpinView from '@/views/SpinView.vue'


import { createRouter, createWebHashHistory } from 'vue-router'



const routes = [
    { path: '/', component: Home },
    { path: '/icon', component: IconView },
    { path: '/button', component: ButtonView },
    { path: '/dialog', component: DialogView },
    { path: '/h5', component: H5ContainerView },
    { path: '/timer', component: TimerView },
    { path: '/spin', component: SpinView }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes,
})



export default router